package com.wpre.lotterysystem.common.errcode;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LianBao
 * Date: 2024-12-10
 * Time: 19:46
 */
public interface ServiceErrorCodeConstants {
    //-----------人员模块错误码-----------
    ErrorCode REGISTER_INFO_IS_EMPTY = new ErrorCode(100, "注册信息为空");
    ErrorCode MAIL_ERROR = new ErrorCode(101, "邮箱错误");
    ErrorCode PHONE_NUMBER_ERROR = new ErrorCode(102, "手机号错误");
    ErrorCode IDENTITY_ERROR = new ErrorCode(103, "身份错误");
    ErrorCode PASSWORD_IS_EMPTY_ERROR = new ErrorCode(104, "密码错误");
    ErrorCode PASSWORD_ERROR = new ErrorCode(105, "密码错误");
    ErrorCode MAIL_USED_ERROR = new ErrorCode(106, "邮箱已被使用过");
    ErrorCode PHONE_NUMBER_USED_ERROR = new ErrorCode(107, "电话已被使用过");
    ErrorCode Login_Info_Not_Exist_ERROR = new ErrorCode(108, "登录信息不存在");
    ErrorCode Login_Not_Exist_ERROR = new ErrorCode(109, "登录方式不存在");
    ErrorCode USER_INFO_IS_EMPTY = new ErrorCode(110, "用户不存在");
    ErrorCode VERIFICATION_CODE_ERROR = new ErrorCode(111, "验证码校验失败");



    //-----------活动模块错误码-----------
    ErrorCode ACTIVITY_CONVERT_ERROR = new ErrorCode(200, "活动状态转换失败");



    //-----------奖品模块错误码-----------

    ErrorCode CREATE_ACTIVITY_INFO_IS_EMPTY_ERROR = new ErrorCode(300, "创建活动信息为空失败");
    ErrorCode ACTIVITY_USER_ERROR = new ErrorCode(301, "活动关联的人员异常");
    ErrorCode ACTIVITY_PRIZE_ERROR = new ErrorCode(302, "活动关联的奖品异常");
    ErrorCode USER_PRIZE_AMOUNT_ERROR = new ErrorCode(303, "活动关联的奖品以及人员数量设置异常");
    ErrorCode ACTIVITY_PRIZE_TIERS_ERROR = new ErrorCode(304, "活动奖品等级设置错误");
    ErrorCode ACTIVITY_ID_CACHE_IS_EMPTY = new ErrorCode(305, "缓存的ActivityId为空");


    //-----------抽奖错误码-----------
    ErrorCode ACTIVITY_OR_PRIZE_NOT_EXIST_ERROR = new ErrorCode(400, "抽奖活动或关联的奖品不存在");
    ErrorCode ACTIVITY_DONE = new ErrorCode(401, "抽奖活动已完成");
    ErrorCode PRIZE_DONE = new ErrorCode(401, "奖品已被已抽取");
    ErrorCode WINNER_PRIZE_AMOUNT = new ErrorCode(401, "中奖者人数和奖品数量不一致");



    //-----------图片误码-----------
    ErrorCode PICTURE_UPLOAD_ERROR = new ErrorCode(500, "图片上传失败");

}
